import request from '@/utils/request'

// 查询影片剧照列表
export function listFilmStill(query) {
  return request({
    url: '/cinema/filmStill/list',
    method: 'get',
    params: query
  })
}

// 查询影片剧照详细
export function getFilmStill(id) {
  return request({
    url: '/cinema/filmStill/' + id,
    method: 'get'
  })
}

// 新增影片剧照
export function addFilmStill(data) {
  return request({
    url: '/cinema/filmStill',
    method: 'post',
    data: data
  })
}

// 修改影片剧照
export function updateFilmStill(data) {
  return request({
    url: '/cinema/filmStill',
    method: 'put',
    data: data
  })
}

// 删除影片剧照
export function delFilmStill(id) {
  return request({
    url: '/cinema/filmStill/' + id,
    method: 'delete'
  })
}

// 导出影片剧照
export function exportFilmStill(query) {
  return request({
    url: '/cinema/filmStill/export',
    method: 'get',
    params: query
  })
}